package br.com.sadim.web;


import javax.faces.context.FacesContext;
import javax.servlet.http.HttpSession;

import br.com.sadim.hospital.Usuario;
 
public class SessaoBean {

	public Usuario getUsuario() {
	    HttpSession session = ( HttpSession ) FacesContext.getCurrentInstance().getExternalContext().getSession( false );
	    return (Usuario) session.getAttribute("usuarioLogado");
	}
	
	

}
